<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="939.0" prefWidth="1509.0" style="-fx-background-color: #000000; " xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.theaters.controllers.TablesController">
    <Text fill="WHITE" layoutX="18.0" layoutY="76.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Выберите нужную таблицу" textAlignment="CENTER" wrappingWidth="1476.234375">
        <font>
            <Font name="Times New Roman Bold" size="40.0" />
        </font>
    </Text>
    <AnchorPane layoutX="7.0" layoutY="100.0" prefHeight="835.0" prefWidth="873.0" style="-fx-background-color: #ffffff;">
        <Label layoutX="148.0" layoutY="14.0" prefHeight="27.0" prefWidth="265.0" text="Locations" textFill="WHITE">
            <font>
                <Font name="System Bold" size="24.0" />
            </font>
        </Label>
        <ListView fx:id="listPositions" fixedCellSize="50.0" layoutX="5.0" layoutY="5.0" onMouseClicked="#display" prefHeight="828.0" prefWidth="258.0" style="-fx-background-color: #ffffff;">
            <opaqueInsets>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </opaqueInsets>
        </ListView>
        <TableView fx:id="resultTable" editable="true" layoutX="265.0" maxHeight="835.0" prefHeight="835.0" prefWidth="605.0">
        </TableView>
    </AnchorPane>

    <AnchorPane layoutX="886.0" layoutY="100.0" prefHeight="835.0" prefWidth="616.0" style="-fx-background-color: #ffffff;">
        <Text fx:id="oldValue" layoutX="237.0" layoutY="35.0" strokeType="OUTSIDE" strokeWidth="0.0" text=" " textAlignment="CENTER" wrappingWidth="180.0">
            <font>
                <Font name="Times New Roman" size="15.0" />
            </font>
        </Text>
        <Text fx:id="newValue" layoutX="17.0" layoutY="35.0" strokeType="OUTSIDE" strokeWidth="0.0" text=" " textAlignment="CENTER" wrappingWidth="180.0">
            <font>
                <Font name="Times New Roman" size="15.0" />
            </font>
        </Text>

        <ListView fx:id="fieldListView1" fixedCellSize="50.0" layoutX="24.0" layoutY="64.0" prefHeight="547.0" prefWidth="180.0" style="-fx-background-color: #ffffff;">
            <opaqueInsets>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </opaqueInsets>
        </ListView>
        <ListView fx:id="fieldListView2" fixedCellSize="50.0" layoutX="237.0" layoutY="64.0" prefHeight="547.0" prefWidth="180.0" style="-fx-background-color: #ffffff;">
            <opaqueInsets>
                <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
            </opaqueInsets>
        </ListView>

        <TextField fx:id="textField" layoutX="147.0" layoutY="737.0" prefHeight="40.0" prefWidth="180.0" />

        <Button fx:id="insert" layoutX="500.0" layoutY="194.0" mnemonicParsing="false" prefHeight="75.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Вставка" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
        <Button fx:id="update" layoutX="500.0" layoutY="276.0" mnemonicParsing="false" prefHeight="84.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Изменение" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
        <Button fx:id="delete" layoutX="500.0" layoutY="376.0" mnemonicParsing="false" prefHeight="84.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Удаление" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
        <Button fx:id="result" layoutX="186.0" layoutY="642.0" mnemonicParsing="false" prefHeight="84.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Отправить" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
        <Button fx:id="back" layoutX="500.0" layoutY="642.0" mnemonicParsing="false" prefHeight="84.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Назад" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
        <Button fx:id="exit" layoutX="500.0" layoutY="737.0" mnemonicParsing="false" prefHeight="84.0" prefWidth="102.0" style="-fx-background-radius: 100; -fx-background-color: silver;" text="Выйти" textAlignment="CENTER" wrapText="true">
            <font>
                <Font name="Times New Roman Bold" size="15.0" />
            </font>
        </Button>
    </AnchorPane>
</AnchorPane>
